home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #47 (1990-06-22)(Amiga User Gruppe Einzugsgebiet 4000).adf / ARP-DOCS1.3 / Sort < prev    next >
Text File  |  1990-06-22  |  2KB  |  67 lines

  1.  
  2.  
  3.  
  4.      Sort(V1.3)              ARP User's Manual              Sort(V1.3)
  5.  
  6.  
  7.  
  8.      NAME
  9.           Sort - Sort a file.
  10.  
  11.      SYNOPSIS
  12.           Sort From To COLSTART/k WIDTH/k CASE/s
  13.  
  14.      DESCRIPTION
  15.           Sort attempts to remedy the defects of the AmigaDOS sort
  16.           command.  Unlike the AmigaDOS Sort command, this program is
  17.           quite fast even for very large files (approximately five
  18.           times faster than the AmigaDOS sort), and will not crash,
  19.           even using the small default stack and very large files.
  20.  
  21.           If you omit the From argument from Sort, it reads from its
  22.           standard input, which allows it to be used in pipelines.
  23.  
  24.      OPTIONS
  25.           COLSTART
  26.                This takes a numeric argument which gives the starting
  27.                column for the sort. All entries to the left of this
  28.                column will not be considered in the final arrangement.
  29.  
  30.           WIDTH
  31.                This takes a numeric argument, which gives the width
  32.                for the sort.  You can use this to specify a 'window'
  33.                for Sort to work on.  For example, using a WIDTH of 4
  34.                will arrange a file based on the first 4 characters of
  35.                each line.  If you also use COLSTART, then the first 4
  36.                characters starting at that column will be the ones on
  37.                which the sort is based.
  38.  
  39.      CASE
  40.       The CASE switch will use a case-sensitive match, rather than
  41.       the default case-insensitive match.
  42.  
  43.      EXAMPLE
  44.           list >listfile
  45.           sort listfile colstart 41
  46.           or using pipes: list | sort colstart 41
  47.  
  48.           This gives a listing of all files sorted by time (i.e., from
  49.           the earliest to the latest).
  50.  
  51.      SEE ALSO
  52.           Ash Manual
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/28/89)
  64.  
  65.  
  66.  
  67.